<?php 
		
	$id = $_POST['Msg'];
 
 	$db = include "./db.php";

 	array_splice($db, $id, 1);
 	// var_dump($db);
 	$str = var_export($db,true);
 	$str = "<?php return ".$str."?>";
 	file_put_contents('./db.php', $str);
 	// header('location:./index.php');
	$info = array(
			'error'=>0,
			'info'=>'删除成功',
		);

	echo json_encode($info);














 ?>